package com.hgc.boot01.service;

import com.hgc.boot01.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserService {

    List<User> findAll();

    public int saveUser(User user);
    public User getById(String id);
    public int updateUser(User user);
    Map<String,Object> findAllByPage(String val, int currentPage, int pageSize);
}
